<%@ page contentType="text/html;charset=UTF-8" isErrorPage="true" session="false" %>
<html>
<head>
    <title></title>
</head>
<body>
500
<%
    java.io.StringWriter buffer = new java.io.StringWriter();
    exception.printStackTrace(new java.io.PrintWriter(buffer));
    buffer.flush();
    request.setAttribute("stackTracks", buffer.toString());
%>
<!--
错误页面: ${pageContext.errorData.requestURI} <br />
错误代码: ${pageContext.errorData.statusCode} <br />
错误堆栈信息:
<code>
<pre>
<%--${cfg['dev'] ? stackTracks : ''}--%>
${stackTracks}
</pre>
</code>
     -->
</body>
</html>
